    
<cfset viewEvent = viewstate.getValue("myself") & viewstate.getValue("xe.view") />
<cfset editEvent = viewstate.getValue("myself") & viewstate.getValue("xe.edit") />
<cfset deleteEvent = viewstate.getValue("myself") & viewstate.getValue("xe.delete") />
<cfset tblpagesQuery = viewstate.getValue("tblpagesQuery") />

    
<cfoutput>
<div id="breadcrumb">Tblpagess / <a href="#editEvent#">Add New Tblpages</a></div>
</cfoutput>
<br />
<table class="list">
<thead>
<tr>
  <cfset displayedColumns = 1 />
  
		  <cfset displayedColumns = displayedColumns + 1 />
	 		<th>Project I D</th>
    
		  <cfset displayedColumns = displayedColumns + 1 />
	 		<th>Page Name</th>
    
		  <cfset displayedColumns = displayedColumns + 1 />
	 		<th>Page Description</th>
    
		  <cfset displayedColumns = displayedColumns + 1 />
	 		<th>On Save Text</th>
    
		  <cfset displayedColumns = displayedColumns + 1 />
	 		<th>On Save U R L</th>
    
		  <cfset displayedColumns = displayedColumns + 1 />
	 		<th>On Save Emails</th>
    
		  <cfset displayedColumns = displayedColumns + 1 />
	 		<th>Close Window</th>
    
		  <cfset displayedColumns = displayedColumns + 1 />
	 		<th>Create Date</th>
    
		  <cfset displayedColumns = displayedColumns + 1 />
	 		<th>User I D</th>
    
		  <cfset displayedColumns = displayedColumns + 1 />
	 		<th>Mod Date</th>
    
		  <cfset displayedColumns = displayedColumns + 1 />
	 		<th>Mod User I D</th>
    
		  <cfset displayedColumns = displayedColumns + 1 />
	 		<th>Groups</th>
    
	<th>&nbsp;</th>
</tr>
</thead>
<tbody>
<cfif not tblpagesQuery.recordcount>
	<tr>
		<cfoutput><td colspan="#displayedColumns#"><em>No Records</em></td></cfoutput>
	</tr>
</cfif>
<cfoutput query="tblpagesQuery">
	<cfset keyString = "&pageID=#urlEncodedFormat(tblpagesQuery.pageID)#" />
	<tr <cfif tblpagesQuery.currentRow mod 2 eq 0>class="even"</cfif>>
    
			 		<td><a href="#viewEvent##keystring#">#htmlEditFormat(projectID)#</a></td>
				
			 		<td><a href="#viewEvent##keystring#">#htmlEditFormat(pageName)#</a></td>
				
			 		<td><a href="#viewEvent##keystring#">#htmlEditFormat(pageDescription)#</a></td>
				
			 		<td><a href="#viewEvent##keystring#">#htmlEditFormat(onSaveText)#</a></td>
				
			 		<td><a href="#viewEvent##keystring#">#htmlEditFormat(onSaveURL)#</a></td>
				
			 		<td><a href="#viewEvent##keystring#">#htmlEditFormat(onSaveEmails)#</a></td>
				
			 		<td><a href="#viewEvent##keystring#">#htmlEditFormat(closeWindow)#</a></td>
				
			 		<td><a href="#viewEvent##keystring#">#dateFormat(createDate, "m/d/yyyy")# #timeFormat(createDate, "h:mm TT")#</a></td>
				
			 		<td><a href="#viewEvent##keystring#">#htmlEditFormat(userID)#</a></td>
				
			 		<td><a href="#viewEvent##keystring#">#dateFormat(modDate, "m/d/yyyy")# #timeFormat(modDate, "h:mm TT")#</a></td>
				
			 		<td><a href="#viewEvent##keystring#">#htmlEditFormat(modUserID)#</a></td>
				
			 		<td><a href="#viewEvent##keystring#">#htmlEditFormat(groups)#</a></td>
				
		<td>
			<a href="#editEvent##keystring#">Edit</a>	
			<a href="##" onclick="if (confirm('Are you sure you want to delete this Tblpages?')) { document.location.replace('#deleteEvent##keystring#') }; return false">Delete</a>
		</td>
	</tr>
</cfoutput>
</tbody>
</table>
                 
	
